using System;
using System.Collections.Generic;
using System.Text;

namespace THSLib
{
    #region STTHSDataSetsInfo
    /// <summary>
    /// This object represents the properties and methods of a STTHSDataSets.
    /// </summary>
    public class STTHSDataSetsInfo : BusinessObject
    {

        protected int _sTTHSDataSetID;
        protected string _sTTHSDataSetName = DefaultString;
        protected string _sTTHSDataSetDesc = String.Empty;
        protected int _sTFieldID;
        protected bool _sTTHSDataSetMainDataSet;

        public STTHSDataSetsInfo()
        {
        }

        public STTHSDataSetsInfo(string strSTTHSDataSetName, string strSTTHSDataSetDesc, int iSTFieldID, bool bSTTHSDataSetMainDataSet)
        {
            STTHSDataSetName = strSTTHSDataSetName;
            STTHSDataSetDesc = strSTTHSDataSetDesc;
            STFieldID = iSTFieldID;
            STTHSDataSetMainDataSet = bSTTHSDataSetMainDataSet;
        }

        #region Public Properties
        public int STTHSDataSetID
        {
            get { return _sTTHSDataSetID; }
            set
            {
                if (value != this._sTTHSDataSetID)
                {
                    _sTTHSDataSetID = value;
                    NotifyChanged("STTHSDataSetID");
                }
            }
        }

        public string STTHSDataSetName
        {
            get { return _sTTHSDataSetName; }
            set
            {
                if (value != this._sTTHSDataSetName)
                {
                    _sTTHSDataSetName = value;
                    NotifyChanged("STTHSDataSetName");
                }
            }
        }

        public string STTHSDataSetDesc
        {
            get { return _sTTHSDataSetDesc; }
            set
            {
                if (value != this._sTTHSDataSetDesc)
                {
                    _sTTHSDataSetDesc = value;
                    NotifyChanged("STTHSDataSetDesc");
                }
            }
        }

        public int STFieldID
        {
            get { return _sTFieldID; }
            set
            {
                if (value != this._sTFieldID)
                {
                    _sTFieldID = value;
                    NotifyChanged("STFieldID");
                }
            }
        }

        public bool STTHSDataSetMainDataSet
        {
            get { return _sTTHSDataSetMainDataSet; }
            set
            {
                if (value != this._sTTHSDataSetMainDataSet)
                {
                    _sTTHSDataSetMainDataSet = value;
                    NotifyChanged("STTHSDataSetMainDataSet");
                }
            }
        }
        #endregion
    }
    #endregion
}
